#include<stdio.h>
int main()
{
    int Square(int);
    int Cube(int);
    int a,b,number1,number2,i;
    for(i=1;i<=10;i++){
        printf("please enter two numbers:");
        scanf("%d,%d",&number1,&number2);
        a=Square(number1);
        b=Cube(number2);
        printf("平方为：%d\n",a);
        printf("立方为：%d\n",b);
    }
    return 0;
}
int Square(int x)
{
    int result;
    result=x*x;
    return result;
}
int Cube(int x)
{
    int result;
    result=x*x*x;
    return result;
}